#!/bin/sh

set -ex
rm -rf autom4te.cache

aclocal --force -I m4
grep -q LIBTOOL configure.ac && libtoolize -c -f
autoconf -f -W all,no-obsolete
automake -a -c -f -W all,no-portability

rm -rf autom4te.cache
exit 0
